package com.ferryc.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/*
 *  Created by Ferry Chen on 2019-11-05.
 */
@Data
@TableName("t_order_detail")
public class  OrderDetail{

  @TableId(value = "id",type = IdType.UUID)
   private  String  id;

   @TableField(value = "order_id",exist = true)
   private  String  orderId;

   @TableField(value = "product_id",exist = true)
   private  String  productId;

   private  Integer  count;

   private  double  price;

   @TableField(value = "total_price",exist = true)
   private  double  totalPrice;

   @TableField(value = "update_time",exist = true)
   private  Date  updateTime;

   @TableField(value = "insert_time",exist = true)
   private Date insertTime;




}